@import '../../../sass/colors';
@import '../../../sass/fonts';
@import '../../../sass/mixins';
@import '../../../sass/media-queries';

.node-view {
  h3 {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .card--header{
    display: flex;
    justify-content: space-between;
  }

  .col + .col {
    margin-left: 10px;
  }

  .badge {
    @include font-size(12px);

    margin-left: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: $dark-green;
    color: $white;
    font-weight: normal;
  }

  .node-view--list {
    display: flex;
    flex-wrap: wrap;
    max-height: 112px;
    padding: 2px;
    overflow: auto;

    button {
      width: 100px;

      &.preview-incoming {
        background-color: #1c8d7f;
        color: $white;
      }

      &.preview-outgoing {
        background-color: #336db5;
        color: $white;
      }
    }
  }
}
